﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileSystem.impl
{
    class MacroDefinition :IMacroDefintion
    {
        private string macroName;
        private IList<ICommand> commandList;

        public string MacroName
        {
            get
            {
                return this.macroName;
            }
            set
            {
                this.macroName = value;
            }
        }

        public IList<ICommand> CommandList
        {
            get
            {
                if (this.commandList == null)
                {
                    this.commandList = new List<ICommand>();
                }
                return this.commandList;

            }
        }
    }
}
